import { request } from '../http/request';

//意见反馈
export const cms = (data: { content: string; supplierId: number; })=>{
    return request({
        method: 'POST',
        url: '/api/user/advice/add',
        data
    })
}

//意见反馈
export const commitAdd = (data: { content: string; environmentRate: number; evaluateImages: any; id: number; overallRate: number; serviceRate: number; supplierId: number;tasteRate:number })=>{
    return request({
        method: 'POST',
        url: '/api/user/evaluate/add',
        data
    })
}
